<template>
	<view>
		<web-view v-if="link" :webview-styles="webviewStyles" :src="link"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				webviewStyles: {
					progress: {
						color: '#356BF0'
					}
				},
				link: "",
			}
		},
		onLoad(option) {
			this.link = decodeURIComponent(option.link)
		}
	}
</script>

<style>

</style>
